﻿using PLCS.Domain;
using PLCS.EntityFrameworkCore.EntityFrameworkCore;

using Volo.Abp.Autofac;
using Volo.Abp.BackgroundJobs;
using Volo.Abp.Modularity;

namespace PLCS.DbMigrator
{
    [DependsOn(
       typeof(AbpAutofacModule),
         typeof(PLCSDomainModule),
         typeof(PLCSEntityFrameworkCoreModule)

       )]
    public class PLCSDbMigratorModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            Configure<AbpBackgroundJobOptions>(options => options.IsJobExecutionEnabled = false);
        }
    }
}